function query2() {
	if (check3() == false){
		return;
		
	}
	document.querybr.action = "countmeeting.vm";
	document.querybr.submit();
}
function query3() {
	if (check3() == false)

		return;

	document.querybr.action = "countmeetingbingtu.vm";
	document.querybr.submit();
}
function query4() {
	if (check3() == false){

		return;
		
	}else{
		if (check() == false)

			return;	
			
			
		}

	document.querybr.action = "countmeetingbingtutwo.vm";
	document.querybr.submit();
}
function check3() {

	var btime1 = $("#btime1").val();
	var etime1 = $("#etime1").val();
	if (btime1== null || btime1=="") {
		if (etime1==null||etime1=="") {
            if(check()==false)
			
			return  false;
		}
	}

	if (btime1!= "") {
	
		if (etime1=="") {
			alert("结束时间不能为空");
			return false;
		}else{
			
			checktime(btime1,etime1);
		}
	}
	if (btime1=="") {
		if (etime1!= "") {
			alert("开始时间不能为空");
			return false;
		}
	}

}

function check() {
	var yue2 = $("#yuee").val();
	var jd2 = $("#jd2").val();
	var year2 = $("#year2").val();

	if (year2=="请选择") {

		alert("年份請不能为空");
		return false;
	}

	if (yue2=="请选择"&&jd2=="请选择") {
		
			alert('季度月份请选择一个');
			return false;
		
	  }
	if (yue2!="请选择"&&jd2!="请选择") {
		
		alert('季度月份只选择一个');
		return false;
	}
}
	function checktime(b,e)
	{
	
		if(b>e)
		{
			alert("开始时间不能大于结束时间");
			return false;
		}
	}